<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta name="keywords" content="个人中心,营圈网" />
		<meta name="description" content="个人中心，营圈网，一起来赢！" />
		<title>个人中心 - 营圈网</title>
		<#include "/common/head.html">
	</head>

	<body>
			<#include "/mine/header.html">
		<div class="person-section clearfix">
			<!--左分类-->
			<#include "/mine/left.html">
			
			<div class="conConterWrap fl">
				<div class="data-title">
					<div class="exhibition clearfix">
						<div class="user fl clearfix">
							<img src="${(user.head)!""}" class="fl">
							<div class="fl">
								<h2>${(user.username)!""}，营圈网欢迎您！</h2>
								<span>VIP会员</span>
							</div>
						</div>
					</div>
				</div>
				<!-- 
				<ul class="clearfix state-single">
					<li class="fl"><a href="/order/unpay.html">待付款</a></li>
					<li class="fl"><a href="/order/paid.html">待发货</a></li>
					<li class="fl"><a href="/order/sent.html">待收货</a></li>
					<li class="fl"><a href="/order/canceled.html">已取消</a></li>
					<li class="fl active"><a href="/order/refund.html">退款申请</a></li>
				</ul>
	 -->
				<!--我的订单-->
				<dl class="myOrder">
					<dt class="clearfix">
						<h3 class="fl clearfix">
							<em class="fl"></em>
							<span class="fl">我的订单</span>
						</h3>
						<a href="/order/list.html" class="fr">查看全部订单</a>
					</dt>
					<#if orders?? && orders?size gt 0>
					<#list orders as item>
					<dd class="clearfix">
						<div class="code fl">${(item.code)!""}</div>
						<div class="fl name">${(item.userName)!""}</div>
						<div class="fl payment">
							<b>&yen;${((item.amountPay)!0)?string('0.00')}</b>
							<span>${(item.payMethodName)!""}</span>
						</div>
						<div class="fl timer">
							<span>${(item.orderTime)?string("yyyy-MM-dd")}</span>
							<span>${(item.orderTime)?string("HH:mm:ss")}</span>
						</div>
						<div class="fl state">${(item.statusName)!""}</div>
						<#if ((item.status) ==1)><a href="/pay/${(item.id)!0}.html"class="fl see">支付</a></#if>
						<a href="/order/${(item.id)!0}.html" class="fl see">查看</a>
					</dd>
					</#list>
					<#else>
					<dd class="clearfix">暂无订单</dd>
					</#if>
				</dl>
				<!--查看更多-->
				<a href="/order/list.html">
				<div class="seeMore">查看更多订单</div>
				</a>
			</div>
				
			<!-- 最热爆款 -->
			<div class="ficationfr fr">
			<dl>
				<dt>最热爆款</dt>
				<#if wares??>
				<#list wares as item>
				<dd>
					<div class="fl imgPart">
						<a href="/ware/${(item.id)!0}.html"><img src="${(item.imageMain)!""}" alt="${(item.name)!""}-营圈网"></a>
					</div>
					<a href="/ware/${(item.id)!0}.html" class="fl conPart">
						<p>${(item.name)!""}</p>
						<b><#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if>元</b>
					</a>
				</dd>
				</#list>
				</#if>
			</dl>
		</div>
		</div>
	
		<!--尾部-->
		<#include "/common/footer.html">
	</body>
</html>